<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>css选择器</title>
		<style type="text/css">
			/* 
			 css选择器: 样式冲突时,越精确优先级越高
				标签(元素){}		元素选择器
				#id属性名{}		id选择器
				.class属性名{}	类选择器
			 */
			div{
				color: red;
			}
			.div2{
				color: bisque;
			}
			#div3{
				color: greenyellow;
			}
		</style>
	</head>
	<body>
		<div>
			div1
		</div>
		<div class="div2">
			div2
		</div>
		<div class="div2" id="div3">
			div3
		</div>
	</body>
</html>